package com.jie.eduorder.service;

import com.jie.eduorder.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author xzj
 * @since 2020-10-17
 */
public interface OrderService extends IService<Order> {

    /**
     * 生成订单
     * @param courseId  课程id
     * @param memberId  用户的id
     * @return          返回订单号
     */
    String createOrder(String courseId, String memberId);

}
